package cn.mineserv.video.videoordersystem.dao;

import cn.mineserv.video.videoordersystem.model.Report;
import cn.mineserv.video.videoordersystem.model.ReportExample;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface ReportDao extends BaseMapper<Report> {
    long countByExample(ReportExample example);

    int deleteByExample(ReportExample example);

    List<Report> selectByExample(ReportExample example);

    int updateByExampleSelective(@Param("record") Report record, @Param("example") ReportExample example);

    int updateByExample(@Param("record") Report record, @Param("example") ReportExample example);

    int updateBatch(List<Report> list);

    int updateBatchSelective(List<Report> list);

    int batchInsert(@Param("list") List<Report> list);

    int insertOrUpdate(Report record);

    int insertOrUpdateSelective(Report record);
}